package com.ruoyi.app.controller.member.service;

import com.ruoyi.app.controller.marketing.entity.MemberCouponSearchVO;
import com.ruoyi.app.controller.marketing.entity.MemberCouponVO;
import com.ruoyi.app.controller.member.entity.BO.MemberCouponReceiveBO;
import com.ruoyi.common.entity.BO.StatusEnumBO;

import java.util.List;

public interface IMemberCouponService {

    void receive(MemberCouponReceiveBO receiveBO);

    List<MemberCouponVO> searchList(MemberCouponSearchVO memberCouponSearchVO);

    List<StatusEnumBO> searchMemberCouponStatusCount(Long memberId);

    void rollBack(Long memberId,Long couponId);

    void useCoupon(Long memberId,Long couponId);
}
